package com.chenbei.erp.vo.req;

import com.chenbei.erp.vo.SchedulingStorageLocationProductVo;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "调拨")
@Data
public class SchedulingStorageReq {

    @Schema(description = "出库ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long outWarehouseId;

    @Schema(description = "入库ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inWarehouseId;

    @Schema(description = "批次号")
    private String batchNumber;

    @Schema(description = "调拨时间")
    private String time;

    @Schema(description = "调拨人ID")
    private Long userId;

    @Schema(description = "调拨仓位产品集合")
    private List<SchedulingStorageLocationProductVo> storeLocationProducts;

    @Schema(description = "备注")
    private String remark;
}
